package icom.acm.manager.mircblog_mongo;

import icom.acm.bean.mircblog.VIEW_USER_MESSAGE_REPLY;
import icom.acm.util.mongo.MongoDB;

import com.mongodb.DBObject;

public class View_User_Message_ReplyMongoMgr {
	private MongoDB init(MongoDB mongo){
		mongo.getCollection("VIEW_USER_MESSAGE_REPLY");
		return mongo;
	}
	
	public void insert(MongoDB mongo, VIEW_USER_MESSAGE_REPLY vumr) {
		MongoDB mongodb = init(mongo);
		DBObject obj = vumr.getDBObject();		
		mongodb.insert(obj);		
	}
}
